package cn.lee.test.repository;

import cn.lee.test.common.base.repository.MyBaseJpaRepository;
import cn.lee.test.model.User;
import org.springframework.stereotype.Repository;

/**
 * @author : lichl(李承霖)
 * create: 2022/2/23 23:26 周三
 */

@Repository
public interface UserRepository extends MyBaseJpaRepository<User, Long>{
  
  User findByIdAndStatus(Long id, String status);
  
  User findByUserNameAndPasswordAndStatus(String username,String password,String status);
  
}
